<template>
    <div relative size-200px bg-white c-black font-size-20px rd-6px>
        <i absolute right-8px top-4px font-size-16px cursor-pointer c-black @click="handlerClose">x</i>
      {{name}}
    </div>
</template>

<script setup>
const props = defineProps(['name','list'])
const emit = defineEmits(['handlerClose'])
const handlerClose = ()=>{
    console.log('关闭');
    emit('handlerClose',false)
}
</script>

<style lang="scss" scoped>

</style>